package com.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/** 二级分类
 * @author djg
 * @date 2020/7/30 16:56
 * @des
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catelog2Vo {
    private String catalog1Id;
    private List<Catelog3Vo> catalog3List;
    private String id;
    private String name;

    /**
     * 三级分类
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo{
        private String catalog2Id; //父分类 二级分类id
        private String id;
        private String name;
    }
}
